nested vmx: intercept guest rdmsr for MSR_IA32_VMX_VMFUNC
authorEuan Harris <euan.harris@citrix.com>
Wed, 8 Jun 2016 12:14:33 +0000 (14:14 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 8 Jun 2016 12:14:33 +0000 (14:14 +0200)
commit6439d23319986d37a6ea843c98b329218c3ac231
tree1f52f2a2b9da62bbd2347809b03d98409d083743
parentaefa50645cad7982f8b2b1ab33995cafe32787b2
nested vmx: intercept guest rdmsr for MSR_IA32_VMX_VMFUNC

Guest reads of MSR_IA32_VMX_VMFUNC should be handled by
the logic in vmx_msr_read_intercept().   Otherwise a guest
can read the raw host value of this MSR, even if nested
vmx is disabled.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/vmx/vmx.c